﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UI/Admin/admin.Master" AutoEventWireup="true" CodeBehind="Admin_UserList.aspx.cs" Inherits="WebApplication13.WebForm1" %>
<asp:Content ID="headPart" ContentPlaceHolderID="HeadContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

        

 <div class="grid_2">
     <asp:EntityDataSource ID="EntityDataSource1" runat="server" 
         ConnectionString="name=PaltopDatabaseEntities" 
         DefaultContainerName="PaltopDatabaseEntities" EnableFlattening="False" 
         EnableUpdate="True" EntitySetName="Accounts">
     </asp:EntityDataSource>
     <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
         AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="AccountID" 
         DataSourceID="EntityDataSource1">
         <Columns>
             <asp:CommandField ShowEditButton="True" />
             <asp:BoundField DataField="AccountID" HeaderText="AccountID" ReadOnly="True" 
                 SortExpression="AccountID" />
             <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
             <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
             <asp:BoundField DataField="RegisterDate" HeaderText="RegisterDate" 
                 SortExpression="RegisterDate" />
             <asp:BoundField DataField="Password" HeaderText="Password" 
                 SortExpression="Password" />
             <asp:CheckBoxField DataField="Delete" HeaderText="Delete" 
                 SortExpression="Delete" />
         </Columns>
     </asp:GridView>
            </div>
           

</asp:Content>
